package com.company.hrmadmin.modules.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 部门管理员
 * @TableName tb_department_admin
 */
@TableName(value ="tb_department_admin")
@Data
public class DepartmentAdmin implements Serializable {
    /**
     * ID标识
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 管理的部门ID
     */
    private Integer adminDepId;

    /**
     * 员工ID
     */
    private Integer userId;

    /**
     * 公司ID
     */
    private Integer companyId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
